package com.tm.payment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_order_info")
public class Order {
    //定义主键策略：跟随数据库的主键自增
    @TableId(value = "id",type= IdType.AUTO)
    private String userId;//主键
    private String title;//订单标题
    private String productId;//支付产品id
    private String orderNo;//商户订单编号
    private Integer price;//订单金额
    private String codeUrl;//订单二维码链接
    private String orderStatus;//订单状态


}
